#ifndef Mpu_6050__H

#define Mpu_6050__H

#include "stm32f10x.h"

typedef struct {
    int16_t x_acc;
    int16_t y_acc;
    int16_t z_acc;
    int16_t tmeperature;
    int16_t x_gyr;
    int16_t y_gyr;
    int16_t z_gyr;
} mpu6050_data;

void init_mpu_6050(void);

void read_data(mpu6050_data * dest);

#endif
